package cn.good.yan.service.t2.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;


/**
 * User 实体
 *
 * @author shengren.yan
 * @create 2022-04-06
 */
@ToString
@Data
@TableName(value ="user")
public class User implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String username;
    private String realName;
    private String password;
    private Integer gender;
    @TableField(exist = false)
    private String genderName;
    private Date birthday;
    private Integer userType;

}
